/**
 * 
 */
package com.placement.app.service;

import java.util.ArrayList;

import com.placement.app.dao.JobSearchDAO;
import com.placement.app.model.JobData;
import com.placement.app.model.ZipLocation;

/**
 * @author ns_nagar
 *
 */
public class JobServiceImpl implements JobService {
	
	
	private JobSearchDAO jobSearchDAO;
	/**
	 * @return the jobSearchDAO
	 */
	public JobSearchDAO getJobSearchDAO() {
		return jobSearchDAO;
	}
	/**
	 * @param jobSearchDAO the jobSearchDAO to set
	 */
	public void setJobSearchDAO(JobSearchDAO jobSearchDAO) {
		this.jobSearchDAO = jobSearchDAO;
	}
	/* (non-Javadoc)
	 * @see com.placement.app.service.JobService#getJobList(com.placement.app.model.ZipLocation, int)
	 */
	public ArrayList<JobData> getJobList(String searchString, ZipLocation location, int range) {
		// TODO Auto-generated method stub
		return jobSearchDAO.getJobList(searchString, location, range);
	}

}
